<template>
  <div class="song">
    <div class="bg">
      <img src="../../assets/img/music/song/bg.jpg" alt="" />
    </div>
    <div class="song-about">
      <div class="back" @click="back"><</div>
      <div class="songs">
        <div>心淡</div>
        <div class="singer">容祖儿.问世间..</div>
      </div>
      <div class="song-r"></div>
    </div>
    <div class="song-middle">
      <img src="../../assets/img/music/song/bg.jpg" alt="" />
    </div>
    <div class="song-a">
      <img
        class="like"
        src="../../assets/img/music/tabbar/like_checked.svg"
        alt=""
      />
      <img class="msg" src="../../assets/img/music/tabbar/pinglu.svg" alt="" />
    </div>
    <div class="song-b">
      <img src="../../assets/img/music/tabbar/pre.svg" alt="" />
      <img src="../../assets/img/music/tabbar/play.svg" alt="" />
      <img src="../../assets/img/music/tabbar/next.svg" alt="" />
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  methods: {
    back(){
      this.$router.back()
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.song {
  height: 100vh;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(15px);
  transform: scale(1.2);
}
.bg img {
  width: 100%;
  height: 100%;
}

.song-about {
  display: flex;
  margin-top: 10px;
  text-align: center;
  font-size: 18px;
}
.back,
.song-r {
  width: 60px;
  text-align: center;
}
.songs {
  flex: 1;
}
.singer {
  font-size: 14px;
  color: #999;
}
.song-middle {
  margin: 40px auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
}
.song-middle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: trans 20s linear 1s infinite;
}
@keyframes trans {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.song-a {
  position: absolute;
  left: 0;
  right: 0;
  bottom:100px ;
  display: flex;
}
.song-a div {
}
.song-a img {
  width: 30px;
  height: 30px;
  flex: 1;
}
.song-b {

  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
}
.song-b img {
  width: 30px;
  height: 30px;
  flex: 1;
  margin-top: 40px;
}
</style>
